<template>
  <div>
  <!-- <el-container style="height: 500px; border: 1px solid #eee"> -->
    <el-aside width="150px" style="background-color: rgb(238, 241, 246)">
      <el-menu>
        <!-- div ... -->
        <el-submenu index="1">
          <template slot="title"><i class="el-icon-crop"></i>容器</template>
          <el-menu-item index="1-1">&lt;div&gt;</el-menu-item>
          <el-menu-item index="1-2">&lt;pre&gt;</el-menu-item>
          <el-menu-item index="1-3">&lt;...&gt;</el-menu-item>
        </el-submenu>

        <!-- h1 h2 ... -->
        <el-submenu index="2">
          <template slot="title"><i class="el-icon-finished"></i>标题</template>
          <el-menu-item index="2-1">&lt;h1&gt;</el-menu-item>
          <el-menu-item index="2-2">&lt;h2&gt;</el-menu-item>
          <el-menu-item index="2-3">&lt;h3&gt;</el-menu-item>
          <el-menu-item index="2-1">&lt;h4&gt;</el-menu-item>
          <el-menu-item index="2-2">&lt;h5&gt;</el-menu-item>
          <el-menu-item index="2-3">&lt;h6&gt;</el-menu-item>
        </el-submenu>

        <!-- p ... -->
        <el-submenu index="3">
          <template slot="title"><i class="el-icon-chat-line-square"></i>内容</template>
          <el-menu-item index="3-1">&lt;p&gt;</el-menu-item>
          <el-menu-item index="3-2">&lt;span&gt;</el-menu-item>
          <el-menu-item index="3-3">&lt;...&gt;</el-menu-item>
        </el-submenu>

        <!-- input ... -->
        <el-submenu index="4">
          <template slot="title"><i class="el-icon-chat-dot-square"></i>表单</template>
          <el-menu-item index="4-1">&lt;input&gt;</el-menu-item>
          <el-menu-item index="4-2">&lt;textarea&gt;</el-menu-item>
          <el-menu-item index="4-3">&lt;...&gt;</el-menu-item>
        </el-submenu>

        <!-- img -->
        <el-submenu index="5">
          <template slot="title"><i class="el-icon-picture-outline"></i>媒体</template>
          <el-menu-item index="5-1">&lt;img&gt;</el-menu-item>
          <el-menu-item index="5-1">&lt;audio&gt;</el-menu-item>
          <el-menu-item index="5-2">&lt;vidio&gt;</el-menu-item>
          <el-menu-item index="5-3">&lt;...&gt;</el-menu-item>
        </el-submenu>

        <!-- button -->
        <el-submenu index="6">
          <template slot="title"><i class="el-icon-thumb"></i>点击</template>
          <el-menu-item index="6-1">&lt;button&gt;</el-menu-item>
          <el-menu-item index="6-2">&lt;a&gt;</el-menu-item>
          <el-menu-item index="6-3">&lt;...&gt;</el-menu-item>
        </el-submenu>
      </el-menu>
    </el-aside>
    
    <!-- <el-container>
      <el-header style="text-align: right; font-size: 12px">
        <el-dropdown>
          <i class="el-icon-setting" style="margin-right: 15px"></i>
          <el-dropdown-menu slot="dropdown">
            <el-dropdown-item>查看</el-dropdown-item>
            <el-dropdown-item>新增</el-dropdown-item>
            <el-dropdown-item>删除</el-dropdown-item>
          </el-dropdown-menu>
        </el-dropdown>
        <span>王小虎</span>
      </el-header>
      
      <el-main>
        <el-table :data="tableData">
          <el-table-column prop="date" label="日期" width="140">
          </el-table-column>
          <el-table-column prop="name" label="姓名" width="120">
          </el-table-column>
          <el-table-column prop="address" label="地址">
          </el-table-column>
        </el-table>
      </el-main>
    </el-container> -->
  <!-- </el-container> -->
  </div>
</template>

<script>
  export default {
    name: 'Elements-Box',
    data() {
      return {
        
      }
    }
  }
</script>

<style lang="less" scoped>
  .el-header {
    background-color: #B3C0D1;
    color: #333;
    line-height: 60px;
  }
  
  .el-aside {
    color: #333;
    overflow: hidden !important;
  }
</style>